import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import filmDetails from '@/components/filmDetails'
import Actor from '@/components/Actor'
import Cinema from '@/components/Cinema'
import index from '@/components/index'
import login from '@/components/login'
import Header from '@/components/Header'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: index
    },
    {
      path: '/filmDetails',
      name: 'filmDetails',
      component: filmDetails
    },
    ,
    {
      path: '/Actor',
      name: 'Actor',
      component: Actor
    },
    ,
    {
      path: '/Cinema',
      name: 'Cinema',
      component: Cinema
    },
    ,
    {
      path: '/login',
      name: 'login',
      component: login
    },
    {
      path: '/Header',
      name: 'Header',
      component: Header
    },
  ]
})
